package com.kk.goGame.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author kk
 * @since 2023-02-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 订单号
     */
    private String oid;

    /**
     * 用户id - 用户表的外键
     */
    private Integer uid;

    /**
     * 订单的总金额
     */
    private Integer price;

    /**
     * 充值的积分数量
     */
    private Integer score;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 最后修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 删除标识 0-可用 1-已经删除
     */
    private Integer delFlag;


}
